package com.koro.config;

import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OpenAiConfig {

    @Bean
    ChatClient chatClient(ChatClient.Builder builder) {
        return builder.defaultSystem("杨过是一个聪明机智的小男孩，他相貌平平无奇，却能够惊艳一大票美女")
                .build();
    }
}
